home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / misc / neuralnetlib.lha / neuralnetlib / include / clib / neuralnet_protos.h
Encoding:
C/C++ Source or Header  |  1999-07-02  |  923 b   |  36 lines

  1. #ifndef CLIB_NEURALNET_H
  2. #define CLIB_NEURALNET_H
  3. /*
  4. **    $VER: neuralnet_protos.h v5.0 (1.7.99)
  5. **
  6. **    C prototype definitions
  7. */
  8.  
  9. #ifndef UTILITY_TAGITEM_H
  10. #include <utility/tagitem.h>
  11. #endif
  12.  
  13.  
  14. /*   public functions:  */
  15.  
  16. void *NN_CreateA(ULONG input, ULONG hidden, ULONG output, struct TagItem *tags);
  17. void *NN_Create(ULONG input, ULONG hidden, ULONG output, Tag tag1, ...);
  18. void NN_Delete(void *net);
  19. void NN_Reset(void *net);
  20. void NN_Recall(void *net);
  21.  
  22. void NN_Train(void *net, float *errorptr);
  23.  
  24. void NN_SetInputLayer(void *net, float *array);
  25. void NN_SetOutputLayer(void *net, float *array);
  26. void NN_GetOutputLayer(void *net, float *array);
  27.  
  28. BOOL NN_LoadA(void *net, char *filename, struct TagItem *tags);
  29. BOOL NN_Load(void *net, char *filename, Tag tag1, ...);
  30. BOOL NN_SaveA(void *net, char *filename, struct TagItem *tags);
  31. BOOL NN_Save(void *net, char *filename, Tag tag1, ...);
  32.  
  33. void *NN_Clone(void *net);
  34.  
  35. #endif
  36.